import request from "@/config/request";

enum API {
    root = "/member/user"
}

/**
 * 获取用户基本信息
 */
export function getUserInfo(): Promise<BaseResult<UserInfo>> {
    return request.get<BaseResult<UserInfo>>({
        url: `${API.root}/get`,
    })
}
